The Trunc function. This function lets you replace a linear function of the input value by the closest integer which is less than this linear function, multiplied by a constant. By adjusting the parameters, you can create a large variety of round-off rules. Assume, e.g., that you want to replace the input value by the closest multiple of 0.5 which is less than the input value. To do this, enter 0.5 into the 窶彗窶 field, 2 into the 窶彙窶 field, and 0 into the 窶彡窶 field.
More generally, let A be a positive number. To replace the input value by the closest multiple of A which is less than the input value, enter A into the 窶彗窶 field, 1/A into the 窶彙窶 field, and 0 into the 窶彡窶 field.
Similarly, let B be a negative number. To replace the input value by the closest multiple of B which is greater than the input value, enter B into the 窶彗窶 field, 1/B into the 窶彙窶 field, and 0 into the 窶彡窶 field.